
enum NewsListType { zoneNews, zoneActivity, zonePolicy, zoneService }

class NewsTabItem{
  final String title;
  final NewsListType type;

  NewsTabItem(
    this.title,
    this.type
  );

}

class NewsListModel {
  final String firstTopNews;
  final String secondTopNews;
  final String firstBottomNews;
  final String secondBottomNews;
  final String thirdBottomNews;
  final String topTitle;
  final String bottomTitle;

 
  NewsListModel(
    this.topTitle,
    this.bottomTitle,
    this.firstTopNews,
    this.secondTopNews,
    this.firstBottomNews,
    this.secondBottomNews,
    this.thirdBottomNews,
  );

  NewsListModel.fromJson(Map<String, dynamic> json)
  :firstTopNews = json['firstTopNews'],
  secondTopNews = json['secondTopNews'],
  firstBottomNews = json['firstBottomNews'],
  secondBottomNews = json['secondBottomNews'],
  thirdBottomNews = json['thirdBottomNews'],
  topTitle = json['topTitle'],
  bottomTitle = json['bottomTitle']
  ;

  Map<String, dynamic> toJson() =>
    {
      'firstTopNews': firstTopNews,
      'secondTopNews': secondTopNews,
    };

}